package me.zhengjie.modules.service.impl.intell;

import lombok.RequiredArgsConstructor;
import me.zhengjie.modules.domain.intellectual.Trademark;
import me.zhengjie.modules.repository.intellectual.EnterIntTrademarkMapper;
import me.zhengjie.modules.service.intell.TrademarkService;
import org.springframework.stereotype.Service;

import java.util.List;

@Service("TrademarkService")
@RequiredArgsConstructor
public class TrademarkServiceImpl implements TrademarkService {
    private final EnterIntTrademarkMapper enterIntTrademarkMapper;

    @Override
    public List<Trademark> selectTrademarkByName(String name) {
        return enterIntTrademarkMapper.selectTrademarkByName(name);
    }
}
